package org.bt.common.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 翻页信息实体
 *
 * @author tongw
 * @date 2021/7/29
 */
@Data
@NoArgsConstructor
public class Page {
    @ApiModelProperty(value = "当前页", example = "5")
    private int pageNum;
    @ApiModelProperty(value = "每页的数量", example = "15")
    private int pageSize;
    @ApiModelProperty(value = "总记录数", example = "679")
    private long total;
    @ApiModelProperty(value = "总页数", example = "46")
    private int pages;
}
